package main

import (
	"github.com/hajimehoshi/ebiten"
	"github.com/hajimehoshi/ebiten/ebitenutil"
	. "strconv"
)

// 绘制 GameOver方法
func (g *Game) DrawGameOver(screen *ebiten.Image) {
	ebitenutil.DebugPrintAt(screen , "GameOver",400,210)
	ebitenutil.DebugPrintAt(screen , Itoa(Score),422,240)
}

// 绘制成绩
func (g *Game) DrawScore(screen *ebiten.Image) {
	ebitenutil.DebugPrintAt(screen , Itoa(Score),100,100)
}

